package org.bonorsoft.modules.wechat.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.bonorsoft.modules.wechat.entity.WxPicture;
import org.bonorsoft.modules.wechat.mapper.WxPictureMapper;
import org.bonorsoft.modules.wechat.service.IWxPictureService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class WxPictureServiceImpl extends ServiceImpl<WxPictureMapper, WxPicture> implements IWxPictureService {
    @Override
    public IPage<WxPicture> paging(Page<WxPicture> page, QueryWrapper<WxPicture> queryWrapper) {
        return this.baseMapper.paging(page, queryWrapper);
    }

    @Override
    public List<String> getIds() {
        return this.baseMapper.getIds();
    }

    @Override
    public String getLink(String id) {
        return this.baseMapper.getLink(id);
    }

}
